Linking Error: undefined reference to `MPI_Init' on Windows 7

Posted by fatpipp on Stack Overflow See other posts from Stack Overflow or by fatpipp
Published on 2012-07-10T03:12:55Z Indexed on 2012/07/10 3:15 UTC
Read the original article Hit count: 190

Filed under:
|
|
|
|

I am using OpenMPI library to write a program to run on Windows 7. I compile and build with C Free 4.0, Mingw.

Compiling is Ok but when the compiler links object, errors "undefined reference to ..." occurs.

I have set the environment already: I added OpenMPI lib, include and bin folder into C Free Build Directories. I added them into Windows environment variables too.

But the error still occurs. Can anyone tell me how to fix it? Thanks a lot.

© Stack Overflow or respective owner

Related posts about c

    Related posts about Windows